<?php

namespace Admin\Controller;

/**
 * 试卷文档控制器
 *
 * @author zhiyuan
 *        
 */
class PaperDocumentsController extends AdminController {
	public function index() {
		$map = array (
				'user' => array (
						'eq',
						UID 
				) 
		);
		$list = D ( 'PaperDocuments' )->where ( $map )->field ( true )->order ( 'create_time desc' )->select ();
		int_to_string ( $list );
		$this->assign ( 'list', $list );
		$this->meta_title = '我的文档';
		$this->display ();
	}
}

?>